package io.renren.modules.sale.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@TableName("sale_order")
@Setter
@Getter
public class SaleOrderEntity {
    @TableId(type = IdType.INPUT)
    private String tallyId;

    private String orderId;

    private Integer orderStatus;

    private String lotteryStyle;

    private String typeName;

    private String lotteryNo;

    private Double launchMoney;

    private Integer cashType;

    private String remarkName;// 用户备注名

    private String customId;// 用户ID

    private Date createTime;

//-- 系统用户
//    CREATE TABLE `sale_order` (
//            `tall_id` varchar(20) NOT NULL,
//	`order_id` varchar(20) not null COMMENT '方案编号',
//            `order_status` tinyint COMMENT '出票状态',
//            `lottery_style` varchar(20) COMMENT '玩法大类',
//            `type_name` varchar(20) COMMENT '玩法小类',
//            `lottery_no` varchar(20) COMMENT '彩种期次',
//            `lanuch_money` double COMMENT '金额',
//            `cash_type` tinyint COMMENT '支付方式',
//            `remark_name` varchar(50) COMMENT '用户备注名',
//            `create_time` datetime COMMENT '创建时间',
//    PRIMARY KEY (`tall_id`)
//) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户投注订单';

}
